package com.gtw.modules.api.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbCategory;

import java.util.List;
import java.util.Map;

public interface TbCategoryService {

    int deleteByPrimaryKey(Integer id);

    int insert(TbCategory record);

    int insertSelective(TbCategory record);

    TbCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbCategory record);

    int updateByPrimaryKey(TbCategory record);

    Page<TbCategory> queryPageList(Page<TbCategory> pageUtil, Map<String, Object> map);

    /**
     * 查询列表
     */
    List<TbCategory> queryList(Map<String, Object> map);

    /**
     * 查询所有
     * @return
     */
    List<TbCategory> findALL();
}
